function popup(){
    const width = 800;
    const height = 690;
    const top = Math.round((window.screen.availHeight - height) / 2);
    const left = Math.round((window.screen.availWidth - width) / 2);
    chrome.windows.create({
        url: chrome.runtime.getURL('popup.html'),
        width,
        height,
        top,
        left,
        type: 'popup',
    });
    window.close();
}
popup();